import com.fasteat.menu.FastEatMenuApplication;
import com.fasteat.menu.entity.client.HistoryVo;
import com.fasteat.menu.service.client.UcenterClient;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author run
 * @since 2021/3/9 23:05
 */
@SpringBootTest(classes = FastEatMenuApplication.class)
@RunWith(SpringRunner.class)
public class ClientTest {

    @Autowired
    private UcenterClient ucenterClient;

    @Test
    public void test(){
        ucenterClient.recordHistory(new HistoryVo("string","string"));
    }
    /**
     * History对象 {
     * gmtCreate (string, optional): 创建时间 ,
     * historyId (string, optional): 浏览id ,
     * isDeleted (integer, optional): 逻辑删除,是1、否0 ,
     * menuId (string, optional): 被浏览菜谱id ,
     * userId (string, optional): 用户id
     * }
     */
}
